import { http } from "@/utils/http";
import { baseUrlApi, filerEmptyVal } from "../utils";

/** 门店库存列表 */
export const getMdStockList = (params?: object) => {
  return http.request<any>("get", baseUrlApi("/store/stock/page"), {
    params: filerEmptyVal(params)
  });
};

/** 各仓库库存情况 */
export const getMdStoreList = (params?: object) => {
  return http.request<any>("get", baseUrlApi("/store/stock/depository"), {
    params: filerEmptyVal(params)
  });
};
